<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/SBPweb.PlAzureNet.Server.Data.Actors" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/SBPweb.PlAzureNet.Server.Data.Actors" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost:8000/SBPweb.PlAzureNet.Cloud.Services/Endpoints/Data.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/SBPweb.PlAzureNet.Shared.Library.Actors" />
  <xs:complexType name="ArrayOfAction">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Action" nillable="true" type="tns:Action" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfAction" nillable="true" type="tns:ArrayOfAction" />
  <xs:complexType name="Action">
    <xs:sequence>
      <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/SBPweb.PlAzureNet.Shared.Library.Actors" minOccurs="0" name="RequestAsEnum" type="q1:ActionTypes" />
      <xs:element xmlns:q2="http://schemas.datacontract.org/2004/07/SBPweb.PlAzureNet.Shared.Library.Actors" minOccurs="0" name="ResultAsEnum" nillable="true" type="q2:ActionTypes" />
      <xs:element minOccurs="0" name="Id" type="xs:long" />
      <xs:element minOccurs="0" name="PersonId" type="xs:long" />
      <xs:element minOccurs="0" name="RoundId" type="xs:long" />
      <xs:element minOccurs="0" name="PleasureId" type="xs:int" />
      <xs:element minOccurs="0" name="TimeStamp" type="xs:dateTime" />
      <xs:element minOccurs="0" name="RequestedQuantity" type="xs:decimal" />
      <xs:element minOccurs="0" name="Request" type="xs:int" />
      <xs:element minOccurs="0" name="Result" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="ReceivedQuantity" nillable="true" type="xs:decimal" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Action" nillable="true" type="tns:Action" />
  <xs:complexType name="ArrayOfLeague">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="League" nillable="true" type="tns:League" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfLeague" nillable="true" type="tns:ArrayOfLeague" />
  <xs:complexType name="League">
    <xs:sequence>
      <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
      <xs:element xmlns:q3="http://schemas.datacontract.org/2004/07/SBPweb.PlAzureNet.Shared.Library.Actors" minOccurs="0" name="LeagueTypeAsEnum" type="q3:LeagueTypes" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Id" type="xs:long" />
      <xs:element minOccurs="0" name="NameId" type="xs:long" />
      <xs:element minOccurs="0" name="DescriptionId" type="xs:long" />
      <xs:element minOccurs="0" name="LocationId" type="xs:long" />
      <xs:element minOccurs="0" name="LeagueType" type="xs:unsignedByte" />
      <xs:element minOccurs="0" name="CultureCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Rounds" nillable="true" type="tns:ArrayOfRound">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:element name="League" nillable="true" type="tns:League" />
  <xs:complexType name="ArrayOfRound">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Round" nillable="true" type="tns:Round" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfRound" nillable="true" type="tns:ArrayOfRound" />
  <xs:complexType name="Round">
    <xs:sequence>
      <xs:element minOccurs="0" name="Id" type="xs:long" />
      <xs:element minOccurs="0" name="LeagueId" type="xs:long" />
      <xs:element minOccurs="0" name="Date" type="xs:dateTime" />
      <xs:element minOccurs="0" name="IsClosed" type="xs:boolean" />
      <xs:element minOccurs="0" name="Actions" nillable="true" type="tns:ArrayOfAction">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Round" nillable="true" type="tns:Round" />
  <xs:complexType name="Location">
    <xs:sequence>
      <xs:element minOccurs="0" name="Id" type="xs:long" />
      <xs:element minOccurs="0" name="Continent" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Country" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="State" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ZipCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="City" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="District" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Neighborhood" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Leagues" nillable="true" type="tns:ArrayOfLeague">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Location" nillable="true" type="tns:Location" />
  <xs:complexType name="Person">
    <xs:sequence>
      <xs:element xmlns:q4="http://schemas.datacontract.org/2004/07/SBPweb.PlAzureNet.Shared.Library.Actors" minOccurs="0" name="GenderAsEnum" type="q4:Genders" />
      <xs:element minOccurs="0" name="Id" type="xs:long" />
      <xs:element minOccurs="0" name="ProviderId" type="xs:int" />
      <xs:element minOccurs="0" name="Rank" type="xs:decimal" />
      <xs:element minOccurs="0" name="UserId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Gender" type="xs:unsignedByte" />
      <xs:element minOccurs="0" name="IsAdult" type="xs:boolean" />
      <xs:element minOccurs="0" name="Actions" nillable="true" type="tns:ArrayOfAction">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Person" nillable="true" type="tns:Person" />
  <xs:complexType name="Pleasure">
    <xs:sequence>
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Id" type="xs:int" />
      <xs:element minOccurs="0" name="NameId" type="xs:long" />
      <xs:element minOccurs="0" name="Actions" nillable="true" type="tns:ArrayOfAction">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Pleasure" nillable="true" type="tns:Pleasure" />
  <xs:complexType name="ArrayOfPleasure">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Pleasure" nillable="true" type="tns:Pleasure" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfPleasure" nillable="true" type="tns:ArrayOfPleasure" />
  <xs:complexType name="ArrayOfMetaInfo">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="MetaInfo" nillable="true" type="tns:MetaInfo" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfMetaInfo" nillable="true" type="tns:ArrayOfMetaInfo" />
  <xs:complexType name="MetaInfo">
    <xs:sequence>
      <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Id" type="xs:long" />
      <xs:element minOccurs="0" name="NameId" type="xs:long" />
      <xs:element minOccurs="0" name="DescriptionId" type="xs:long" />
      <xs:element minOccurs="0" name="Value" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="MetaInfo" nillable="true" type="tns:MetaInfo" />
</xs:schema>